package org.itboys.mobile.service.mongo.front.dynamic;

import org.itboys.mobile.entity.mongo.dynamic.SundayDynamicOperate;
import org.itboys.mongodb.core.MongoDataSource;
import org.itboys.mongodb.service.BaseMongoService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * 作者：jiangxiong
 * 日期：2017年4月26日
 * 联系方式 ：empty90911@126.com
 * 描述：圣代_移动端（通用）_动态_点赞或评论_sevice。如果属性不够，请自行填充
 */
@Service
public class SundayFrontDynamicOperateService extends BaseMongoService<SundayDynamicOperate>{

    @Resource(name = "mobileDs")
    private MongoDataSource sundayDataSource;
    @Override
    protected MongoDataSource getMongoDataSource() {
        return sundayDataSource;
    }

    @Override
    protected Class<SundayDynamicOperate> getEntityClass() {
        return SundayDynamicOperate.class;
    }


}
